<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    	<style type="text/css">

        

        /*导航选中样式*/

		.selected {
		           color: #ffffff;
		
		            background: #7f879e;
		}

    </style>
		<div class="left_menu">
            <aside>
                <ul>
                	<li class="return_top" onclick="returntop();">
                        <a href="#"></a>

                    </li>
                    <li>
                        <a href="${contextPath }/consumer/list.htm" class="${entityType == 'CONSUMER'?'selected':'' }">项目甲方</a>

                    </li>
                    <li><a href="${contextPath }/consult/list.htm" class="${entityType == 'CONSULT'?'selected':'' }">咨询机构</a>
                    </li>
                    <li><a href="${contextPath }/agency/list.htm" class="${entityType == 'AGENCY'?'selected':'' }">招标代理</a>
                    </li>
                    <li><a href="${contextPath }/integrator/list.htm" class="${entityType == 'INTEGRATOR'?'selected':'' }">集成商</a>
                    </li>
                    <li><a href="${contextPath }/supervision/list.htm" class="${entityType == 'SUPERVISION'?'selected':'' }">项目监理</a>
                    </li>
                    <li><a href="${contextPath }/expert/list.htm" class="${entityType == 'EXPERT'?'selected':'' }">专家</a>
                    </li>

                </ul>
            </aside>
        </div>
        
        <script>
        
	        $(window).scroll(function () {
	
	            var a = $(document).scrollTop();
	            console.log(a);
	            if (a > 350) {
	                console.log(a);
	                $(".left_menu aside").css("z-index", "999");
	                $(".left_menu aside").css("margin-top", "-30px");
	
	            } else {
	
	                $(".left_menu aside").css("z-index", "999");
	                $(".left_menu aside").css("margin-top", "105px");
	
	            }
	
	        });
	      //返回顶部
	      function returntop() {

	            $("html,body").animate({ scrollTop: 0 }, 600);


	      }
        </script>